<% @currentsession.errors.each { |code,error| %>
<span class="error"><%= error %></span>
<% } %>